package jun.home.dailycost.dao;

import java.util.Date;
import java.util.List;

import jun.home.dailycost.domain.Category;
import jun.home.dailycost.domain.Item;

public interface ItemDao {

	public List<Item> selectAll();
	
	public List<Item> selectByCategory(Category cat);
	
	public Item selectById(int id);
	
	public List<Item> selectByDate(Date start, Date end);
	
	public List<Item> selectByDateAndCategory(Date start, Date end, Category cat);
	
	// TODO: any other select method
	
	public void store(Item item);
	
	public void delete(Item item);

}
